package com.meirengu.webview.service.impl;

import com.meirengu.service.impl.BaseServiceImpl;
import com.meirengu.webview.dao.KwAreaDataDao;
import com.meirengu.webview.model.KwAreaData;
import com.meirengu.webview.service.KwAreaDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * KwAreaData服务实现层
 *
 * @author Liu
 * @create Fri Sep 14 15:23:13 CST 2018
 */
@Service
public class KwAreaDataServiceImpl extends BaseServiceImpl<KwAreaData> implements KwAreaDataService {

    @Autowired
    private KwAreaDataDao kwAreaDataDao;

    @Override
    public int updatePushNum(KwAreaData kwAreaData) {
        return kwAreaDataDao.updatePushNum(kwAreaData);
    }

    @Override
    public int updateOutLimit(KwAreaData kwAreaData) {
        return kwAreaDataDao.updateOutLimit(kwAreaData);
    }

    @Override
    public List<KwAreaData> getModel(Map map) {
        return kwAreaDataDao.getModel(map);
    }
}
